package gnv;

import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.widgets.Composite;

import com.swtdesigner.SWTResourceManager;

public class TicketPedido extends Composite {

	/**
	 * Create the composite
	 * @param parent
	 * @param style
	 */
	public TicketPedido(Composite parent, int style) {
		super(parent, style);

		final Composite composite1 = new Composite(this, SWT.BORDER);
		composite1.setBounds(10, 10, 595, 204);

		final CLabel logo = new CLabel(composite1, SWT.NONE);
		logo.setBounds(10, 10,61, 54);
		logo.setAlignment(SWT.CENTER);
		logo.setImage(SWTResourceManager.getImage(TicketPedido.class, "/imagenes/descuento.png"));
		logo.setText("");

		final Composite composite2 = new Composite(this, SWT.BORDER);
		composite2.setBounds(10, 220, 595, 204);

		final CLabel logo2 = new CLabel(composite2, SWT.NONE);
		logo2.setAlignment(SWT.CENTER);
		logo2.setImage(SWTResourceManager.getImage(TicketPedido.class, "/imagenes/descuento.png"));
		logo2.setBounds(10, 10, 61, 54);
		logo2.setText("");
		//
	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
